import { EventEmitter } from 'events'
export class Document extends EventEmitter {
  readonly fullName: string
  readonly name: string
  readonly path: string
  saved: boolean
  constructor(item: any) {
    super()
    this.name = item.name
    this.fullName = item.fullName
    this.path = item.path
    this.saved = item.saved
  }
}
